package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "adv_apply_tbl")
@Alias(value = "applytbl")
public class ApplyTbl extends PageDto {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "totalprice")
    private Integer totalprice;//总价

    @Column(name = "video_id")
    private Integer videoId;//关联到video_tbl

    @Column(name = "checkstatus")
    private Integer checkstatus;//审核状态，0待审核1通过2不通过

    @Column(name = "day")
    private Integer day;//预约天数

    @Column(name = "start_time")
    private Long startTime;//预约开始时间


    @Column(name = "end_time")
    private Long endTime;//预约结束时间

    @Column(name = "type")
    private Integer type;//0电商广告1外卖广告

    @Column(name = "updated_time")
    private Long updatedTime;

    @Column(name = "deleted")
    private Integer deleted;//删除

    @Column(name = "deleted_time")
    private Long deletedTime;//删除时间

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Integer totalprice) {
        this.totalprice = totalprice;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public Integer getCheckstatus() {
        return checkstatus;
    }

    public void setCheckstatus(Integer checkstatus) {
        this.checkstatus = checkstatus;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }


}
